#pragma once

#ifdef _USRDLL
#define SUPPORT_LANG	__declspec(dllexport)
#else
#define SUPPORT_LANG	__declspec(dllimport)
#endif

//file & folder name
#define MAX_SUPPORT_LANG		5
#define LANG_FILE_NAME		_T("lang_support.ini")
#define LANG_FOLDER_KOR			_T("KOR")
#define LANG_FOLDER_CHS			_T("CHS")		/*chinese simplified*/
#define LANG_FOLDER_CHT			_T("CHT")		/*chinese traditional*/
#define LANG_FOLDER_JAP			_T("JPN")
#define LANG_FOLDER_ENG			_T("ENG")

//
//0. Common
#define APPNAME_COMMON			_T("Common")

#define KEYNAME_COMMON_OK		_T("OK")
#define KEYNAME_COMMON_CANCEL	_T("Cancel")
#define KEYNAME_COMMON_ON		_T("ON")
#define KEYNAME_COMMON_OFF		_T("OFF")
#define KEYNAME_APPNAME			_T("AppName")
#define KEYNAME_COMMON_EXIT		_T("Exit")
#define KEYNAME_SETUP_NAME		_T("SetupName")
#define KEYNAME_COMMON_APPLY	_T("Apply")
#define KEYNAME_COMMON_DEFAULT	_T("Default")
#define KEYNAME_COMMON_SECONDS	_T("seconds")
#define KEYNAME_COMMON_AVAILABLE	_T("Available")

//1. backup
#define APPNAME_BACKUP					_T("Backup")

#define KEYNAME_BACKUP_TITLE			_T("Title")
#define KEYNAME_BACKUP_TITLE_STATUS1	_T("Status1")
#define KEYNAME_BACKUP_TITLE_STATUS2	_T("Status2")
#define KEYNAME_BACKUP_TYPE				_T("Backup Type")
#define KEYNAME_BACKUP_TYPE1			_T("Type1")
#define KEYNAME_BACKUP_TYPE2			_T("Type2")
#define KEYNAME_BACKUP_SETTING			_T("Backup Setting")
#define KEYNAME_BACKUP_CAMERA			_T("Camera")
#define KEYNAME_BACKUP_PATH				_T("Path")
#define KEYNAME_BACKUP_START_TIME		_T("Start Time")
#define KEYNAME_BACKUP_END_TIME			_T("End Time")
#define KEYNAME_BACKUP_BTN_START		_T("Start")
#define KEYNAME_BACKUP_BTN_STOP			_T("Stop")
#define KEYNAME_BACKUP_CLOSE			_T("Close")
#define KEYNAME_BACKUP_SEL_PATH			_T("SelPath")
#define KEYNAME_BACKUP_GOTO_FOLDER		_T("GoToFolder")

#define KEYNAME_BACKUP_MESSAGE0			_T("Message0")
#define KEYNAME_BACKUP_MESSAGE1_0		_T("Message1_0")
#define KEYNAME_BACKUP_MESSAGE1_1		_T("Message1_1")
#define KEYNAME_BACKUP_MESSAGE2			_T("Message2")
#define KEYNAME_BACKUP_MESSAGE3			_T("Message3")

//2. Color 
#define APPNAME_COLOR					_T("Color")

#define KEYNAME_COLOR_TITLE				_T("Title")
#define KEYNAME_COLOR_APPLY_ALL			_T("Apply All")
#define KEYNAME_COLOR_DEFAULT			_T("Default")
#define KEYNAME_COLOR_BRIGHTNESS		_T("Brightness")
#define KEYNAME_COLOR_CONTRAST			_T("Contrast")
#define KEYNAME_COLOR_SATURATION		_T("Saturation")
#define KEYNAME_COLOR_SHARPENESS		_T("Sharpeness")
#define KEYNAME_COLOR_BLUR				_T("Blur")

//3. Dlg delete
#define APPNAME_DELETE					_T("Delete")

#define KEYNAME_DELETE_TITLE			_T("Title")
#define KEYNAME_DELETE_MESSAGE0			_T("Message0")
#define KEYNAME_DELETE_MESSAGE1			_T("Message1")

//4. Dlg Open Drive
#define APPNAME_OPEN					_T("Open Drive")

#define KEYNAME_OPEN_TITLE				_T("Title")
#define KEYNAME_OPEN_SUBITEM1			_T("Drive")
#define KEYNAME_OPEN_SUBITEM2			_T("Description")
#define KEYNAME_OPEN_PATH				_T("Other Path")
#define KEYNAME_OPEN_OK					_T("OK")
#define KEYNAME_OPEN_CANCEL				_T("Cancel")
#define KEYNAME_OPEN_VOLUME_LABLE		_T("Volume label")
#define KEYNAME_OPEN_FORMAT_DRIVE		_T("Format")
#define KEYNAME_OPEN_FILE_SYSTEM		_T("File system")
#define KEYNAME_OPEN_CLUSTER_SIZE		_T("Cluster size")
#define KEYNAME_OPEN_QUICK_FORMAT		_T("Quick Format")
#define KEYNAME_OPEN_RUN_FORMAT			_T("Run")

#define KEYNAME_OPEN_FORMAT_SUCCESS		_T("FormatSuccess")
#define KEYNAME_OPEN_FORMAT_FAILURE		_T("FormatFailure")
#define KEYNAME_OPEN_FORMAT_UNAVAILABLE _T("FormatUnavailable")

//5. Popup
#define APPNAME_POPUP					_T("Popup")

#define KEYNAME_POPUP_OPEN				_T("Open Drive")
#define KEYNAME_POPUP_DISPLAY_CHANNEL	_T("Display Channel")
#define KEYNAME_POPUP_DC_CHANNEL1		_T("Channel 1")
#define KEYNAME_POPUP_DC_FRONT			_T("Front")
#define KEYNAME_POPUP_DC_REAR			_T("Rear")
#define KEYNAME_POPUP_ASPECT_RATIO		_T("Aspect Ratio")
#define KEYNAME_POPUP_AR_KEEP			_T("Keep Ratio")
#define KEYNAME_POPUP_AR_DEFAULT		_T("Default")
#define KEYNAME_POPUP_AR_ORIGIANL		_T("Original")
#define KEYNAME_POPUP_AR_16TO09			_T("16:9")
#define KEYNAME_POPUP_AR_04TO03			_T("4:3")
#define KEYNAME_POPUP_DISPLAY_SIZE		_T("Display Size")
#define KEYNAME_POPUP_DS_FULL			_T("Full Size")
#define KEYNAME_POPUP_DS_1TO1			_T("1:1")
#define KEYNAME_POPUP_SWAP				_T("Swap")
#define KEYNAME_POPUP_ONE_CHANNEL		_T("One Channel")
#define KEYNAME_POPUP_COLOR				_T("Color Setting")
#define KEYNAME_POPUP_ZOOM				_T("Zoom")
#define KEYNAME_POPUP_ZOOM_DEFALUT		_T("Zoom Default")
#define KEYNAME_POPUP_ZOOM_VALUE		_T("Zoom Value")
#define KEYNAME_POPUP_VIDEO				_T("Video")
#define KEYNAME_VIEWER_VIDEO_MODE1		_T("Mode1")
#define KEYNAME_VIEWER_VIDEO_MODE2		_T("Mode2")
#define KEYNAME_POPUP_VIDEO_UPDOWN		_T("UpDown")
#define KEYNAME_POPUP_VIDEO_LEFTRIGHT	_T("LeftRight")

//6. Select Model
#define APPNAME_MODEL					_T("Select Model")

#define KEYNAME_MODEL_TITLE				_T("Title")
#define KEYNAME_MODEL_SUBITEM1			_T("Subitem1")
#define KEYNAME_MODEL_SUBITEM2			_T("Subitem2")
#define KEYNAME_MODEL_SUBITEM3			_T("Subitem3")
#define KEYNAME_MODEL_OK				_T("OK")
#define KEYNAME_MODEL_MESSAGE			_T("Message")
#define KEYNAME_MODEL_SELECT			_T("Select Model")
#define KEYNAME_MODEL_MESSAGE0			_T("Message0")
#define KEYNAME_MODEL_MESSAGE1			_T("Message1")

//7. Print
#define APPNAME_PRINT					_T("Print")

#define KEYNAME_PRINT_TITLE				_T("Report")
#define KEYNAME_PRINT_MEMO				_T("Memo")
#define KEYNAME_PRINT_ADD_MEMO			_T("Add Memo")
#define KEYNAME_PRINT_PRINT				_T("Print")
#define KEYNAME_PRINT_CANCEL			_T("Cancel")

#define KEYNAME_PRINT_OUT_TITLE			_T("The Occurrence Report")
#define KEYNAME_PRINT_OUT_DATE			_T("Issued Date")
#define KEYNAME_PRINT_OUT_PLACE			_T("Issued Location")
#define KEYNAME_PRINT_OUT_GSENSOR		_T("G-Sensor")
#define KEYNAME_PRINT_OUT_MEMO			_T("Brief")

//8. Setup
#define APPNAME_SETUP					_T("Setup")

#define KEYNAME_SETUP_TITLE				_T("Title")
#define KEYNAME_SETUP_OK				_T("OK")
#define KEYNAME_SETUP_CANCEL			_T("Cancel")
#define KEYNAME_SETUP_MESSAGE1			_T("Message1")
#define KEYNAME_SETUP_TAB_RECORD		_T("Record")
#define KEYNAME_SETUP_TAB_SYSTEM		_T("System")

//9. Setup - record
#define APPNAME_RECORD			_T("Record")

#define KEYNAME_RECORD_RESOL_MODE1		_T("ResolMode1")
#define KEYNAME_RECORD_RESOL_MODE2		_T("ResolMode2")
#define KEYNAME_RECORD_EVENT			_T("Event")
#define KEYNAME_RECORD_NORMAL			_T("Normal")
#define KEYNAME_RECORD_AND				_T("and")
#define KEYNAME_RECORD_FRONT			_T("Front Resolution")
#define KEYNAME_RECORD_REAR				_T("Rear Resolution")
#define KEYNAME_RECORD_PARKING_RESOL	_T("Parking mode resolution")
#define KEYNAME_RECORD_MODE				_T("Record Mode")
#define KEYNAME_RECORD_MODE1			_T("Normal and Event")
#define KEYNAME_RECORD_MODE2			_T("Event Only")
#define KEYNAME_RECORD_MOTION			_T("Motion Detection")
#define KEYNAME_RECORD_MOTION_SEN		_T("Motion Sensitivity")
#define KEYNAME_RECORD_MOTION_SEN_L5	_T("Motion Sensitivity_L5")
#define KEYNAME_RECORD_GSENSOR			_T("G-Sensor")
#define KEYNAME_RECORD_GSENSOR_SEN		_T("G-Sensor Sensitivity")
#define KEYNAME_RECORD_GSENSOR_SEN_L5	_T("G-Sensor Sensitivity_L5")
#define KEYNAME_RECORD_INSENSITIVE		_T("Insensitive")
#define KEYNAME_RECORD_SENSITIVE		_T("Sensitive")
#define KEYNAME_RECORD_POST				_T("Post Recording")
#define KEYNAME_RECORD_POST1			_T("0 sec")
#define KEYNAME_RECORD_POST2			_T("10 sec")
#define KEYNAME_RECORD_POST3			_T("30 sec")
#define KEYNAME_RECORD_POST4			_T("60 sec")
#define KEYNAME_RECORD_AUDIO			_T("Audio")
#define KEYNAME_RECORD_AUDIO_ENABLE		_T("AudioEnable")
#define KEYNAME_RECORD_AUDIO_ON			_T("Audio ON")
#define KEYNAME_RECORD_AUDIO_OFF		_T("Audio OFF")
#define KEYNAME_RECORD_QUALITY			_T("Video Quality")
#define KEYNAME_RECORD_QUALITY_NORMAL	_T("Video Quality Normal")
#define KEYNAME_RECORD_QUALITY_GOOD		_T("Video Quality Good")
#define KEYNAME_RECORD_QUALITY_VERYGOOD	_T("Video Quality Very Good")
#define KEYNAME_RECORD_AUDIO_OUT_VOLUME		_T("Audio Output Volume")
#define KEYNAME_RECORD_AUDIO_OUT_VOL_MUTE	_T("Audio Output Volume Mute")
#define KEYNAME_RECORD_AUDIO_OUT_VOL_MAX	_T("Audio Output Volume Max")

//10. Setup - system
#define APPNAME_SYSTEM			_T("System")

#define KEYNAME_SYSTEM_VIDEO_FORMAT		_T("Video Format")
#define KEYNAME_SYSTEM_VF_NTSC			_T("NTSC")
#define KEYNAME_SYSTEM_VF_PAL			_T("PAL")
#define KEYNAME_SYSTEM_SPEEDOMETER		_T("Speedometer")
#define KEYNAME_SYSTEM_SM_KM			_T("Km/h")
#define KEYNAME_SYSTEM_SM_MILE			_T("MPH")
#define KEYNAME_SYSTEM_REC_FORMAT		_T("File Format")
#define KEYNAME_SYSTEM_RF_AVS			_T("AVS")
#define KEYNAME_SYSTEM_RF_AVI			_T("AVI")
#define KEYNAME_SYSTEM_PARKING_MODE		_T("Parking Mode")
#define KEYNAME_SYSTEM_PM_AUTO			_T("Automatic")
#define KEYNAME_SYSTEM_PM_MANUAL		_T("Manual")
#define KEYNAME_SYSTEM_REVERSE_GEAR		_T("Reverse Gear")
#define KEYNAME_SYSTEM_RG_ON			_T("ON")
#define KEYNAME_SYSTEM_RG_OFF			_T("OFF")
#define KEYNAME_SYSTEM_TIMEZONE			_T("Time Zone")
#define KEYNAME_SYSTEM_TIME_SET			_T("Time Setting")
#define KEYNAME_SYSTEM_TIME_SET_SAVE	_T("Save")
#define KEYNAME_SYSTEM_OVERSPEED		_T("Overspeed")
#define KEYNAME_SYSTEM_TIME_SET_MODE0	_T("Time Set-mode0")
#define KEYNAME_SYSTEM_TIME_SET_MODE1	_T("Time Set-mode1")
#define KEYNAME_SYSTEM_FORMAT_DRIVE		_T("Format Drive")
#define KEYNAME_SYSTEM_REMOVABLE_DRIVE	_T("Removable Drive")
#define KEYNAME_SYSTEM_EXE_FORMAT		_T("Format")

#define KEYNAME_SYSTEM_PARKING_VOLTAGE		_T("Parking Voltage")
#define KEYNAME_SYSTEM_PARKING_VL1		_T("Voltage L1")
#define KEYNAME_SYSTEM_PARKING_VL2		_T("Voltage L2")
#define KEYNAME_SYSTEM_PARKING_VL3		_T("Voltage L3")
#define KEYNAME_SYSTEM_PARKING_VL4		_T("Voltage L4")

#define KEYNAME_SYSTEM_PARKING_TIME			_T("Parking Time")
#define KEYNAME_SYSTEM_PARKING_T1		_T("Time1")
#define KEYNAME_SYSTEM_PARKING_T2		_T("Time2")
#define KEYNAME_SYSTEM_PARKING_T3		_T("Time3")
#define KEYNAME_SYSTEM_PARKING_T4		_T("Time4")



#define KEYNAME_SYSTEM_TIMEZONE_MANUAL	_T("Timezone Manual")
#define KEYNAME_SYSTEM_FW_INFO			_T("FirmwareInfo")
#define KEYNAME_SYSTEM_FW_MODEL			_T("Model")
#define KEYNAME_SYSTEM_FW_VER			_T("Version")
#define KEYNAME_SYSTEM_NOT_OPEN1		_T("NotOpen1")
#define KEYNAME_SYSTEM_NOT_OPEN2		_T("NotOpen2")

#define KEYNAME_SYSTEM_MESSAGE1			_T("Message1")
#define KEYNAME_SYSTEM_MESSAGE2			_T("Message2")
#define KEYNAME_SYSTEM_MESSAGE3			_T("Message3")
#define KEYNAME_SYSTEM_MESSAGE4			_T("Message4")

#define KEYNAME_SYSTEM_TZ_P1400			_T("P1400")
#define KEYNAME_SYSTEM_TZ_P1345			_T("P1345")
#define KEYNAME_SYSTEM_TZ_P1300			_T("P1300")
#define KEYNAME_SYSTEM_TZ_P1245			_T("P1245")
#define KEYNAME_SYSTEM_TZ_P1200			_T("P1200")
#define KEYNAME_SYSTEM_TZ_P1130			_T("P1130")
#define KEYNAME_SYSTEM_TZ_P1100			_T("P1100")
#define KEYNAME_SYSTEM_TZ_P1030			_T("P1030")
#define KEYNAME_SYSTEM_TZ_P1000			_T("P1000")

#define KEYNAME_SYSTEM_TZ_P0930			_T("P0930")
#define KEYNAME_SYSTEM_TZ_P0900			_T("P0900")
#define KEYNAME_SYSTEM_TZ_P0800			_T("P0800")
#define KEYNAME_SYSTEM_TZ_P0700			_T("P0700")
#define KEYNAME_SYSTEM_TZ_P0630			_T("P0630")
#define KEYNAME_SYSTEM_TZ_P0600			_T("P0600")
#define KEYNAME_SYSTEM_TZ_P0545			_T("P0545")
#define KEYNAME_SYSTEM_TZ_P0530			_T("P0530")
#define KEYNAME_SYSTEM_TZ_P0500			_T("P0500")
#define KEYNAME_SYSTEM_TZ_P0430			_T("P0430")
#define KEYNAME_SYSTEM_TZ_P0400			_T("P0400")

#define KEYNAME_SYSTEM_TZ_P0330			_T("P0330")
#define KEYNAME_SYSTEM_TZ_P0300			_T("P0300")
#define KEYNAME_SYSTEM_TZ_P0200			_T("P0200")
#define KEYNAME_SYSTEM_TZ_P0100			_T("P0100")
#define KEYNAME_SYSTEM_TZ_P0000			_T("P0000")

#define KEYNAME_SYSTEM_TZ_N0100			_T("N0100")
#define KEYNAME_SYSTEM_TZ_N0200			_T("N0200")
#define KEYNAME_SYSTEM_TZ_N0300			_T("N0300")
#define KEYNAME_SYSTEM_TZ_N0330			_T("N0330")
#define KEYNAME_SYSTEM_TZ_N0400			_T("N0400")
#define KEYNAME_SYSTEM_TZ_N0430			_T("N0430")

#define KEYNAME_SYSTEM_TZ_N0500			_T("N0500")
#define KEYNAME_SYSTEM_TZ_N0600			_T("N0600")
#define KEYNAME_SYSTEM_TZ_N0700			_T("N0700")
#define KEYNAME_SYSTEM_TZ_N0800			_T("N0800")
#define KEYNAME_SYSTEM_TZ_N0900			_T("N0900")
#define KEYNAME_SYSTEM_TZ_N0930			_T("N0930")

#define KEYNAME_SYSTEM_TZ_N1000			_T("N1000")
#define KEYNAME_SYSTEM_TZ_N1100			_T("N1100")
#define KEYNAME_SYSTEM_TZ_N1200			_T("N1200")

#define DEF_P1400_CITY					_T("")
#define DEF_P1345_CITY					_T("")
#define DEF_P1300_CITY					_T("Samoa,Nukualofa")
#define DEF_P1245_CITY					_T("")
#define DEF_P1200_CITY					_T("Fiji,Auckland,Wellington,Magadan")
#define DEF_P1130_CITY					_T("")
#define DEF_P1100_CITY					_T("Solomon Is.,New Caledonia,Vladivostok")
#define DEF_P1030_CITY					_T("")
#define DEF_P1000_CITY					_T("Canberra,Melbourne,Sydney,Brisbane,Guam")
#define DEF_P0930_CITY					_T("Adelaide,Darwin")
#define DEF_P0900_CITY					_T("Seoul,Irkutsk,Tokyo")
#define DEF_P0800_CITY					_T("Beijing,Hongkong,Taipei,Kuala Lumpur,Singapore")
#define DEF_P0700_CITY					_T("Bangkok,Hanoi,Jakarta")
#define DEF_P0630_CITY					_T("Yangon")
#define DEF_P0600_CITY					_T("Yekaterinburg,Astana,Dacca")
#define DEF_P0545_CITY					_T("Kathmandu")
#define DEF_P0530_CITY					_T("Chennai,Kolkata,Mumbai,New Delhi")
#define DEF_P0500_CITY					_T("Tashkent,Islamabad,Karachi")
#define DEF_P0430_CITY					_T("Kabul")
#define DEF_P0400_CITY					_T("Moskva,Caucasus")
#define DEF_P0330_CITY					_T("Teheran")
#define DEF_P0300_CITY					_T("Kuwait,Minsk,Baghdad,Nairobi")
#define DEF_P0200_CITY					_T("Helsinki,Riga,Kiev,Harare,Cairo,Istanbul,Jerusalem,Athens")
#define DEF_P0100_CITY					_T("Amsterdam,Berlin,Bern,Rome,Stockholm,Wien,Madrid,Paris,Praha")
#define DEF_P0000_CITY					_T("London,Lisbon")
#define DEF_N0100_CITY					_T("Azores Is.")
#define DEF_N0200_CITY					_T("")
#define DEF_N0300_CITY					_T("Brasilia,Buenos Aires,Greenland")
#define DEF_N0330_CITY					_T("Newfoundland")
#define DEF_N0400_CITY					_T("Santiago,Georgetown,San Juan")
#define DEF_N0430_CITY					_T("Caracas")
#define DEF_N0500_CITY					_T("Bogota,Eastern America")
#define DEF_N0600_CITY					_T("Central America,Mexico City")
#define DEF_N0700_CITY					_T("Chihuahua,Arizona")
#define DEF_N0800_CITY					_T("California")
#define DEF_N0900_CITY					_T("Alaska")
#define DEF_N0930_CITY					_T("")
#define DEF_N1000_CITY					_T("Hawaii")
#define DEF_N1100_CITY					_T("")
#define DEF_N1200_CITY					_T("")



//11. Viewer setting
#define APPNAME_VIEWER			_T("Viewer Setting")

#define KEYNAME_VIEWER_TITLE			_T("Title")
#define KEYNAME_VIEWER_VERSION			_T("Viewer Version")
#define KEYNAME_VIEWER_MODE				_T("Viewer Mode")
#define KEYNAME_VIEWER_MODE1			_T("Mode 1")
#define KEYNAME_VIEWER_MODE2			_T("Mode 2")
#define KEYNAME_VIEWER_MODE4			_T("Mode 4")
#define KEYNAME_VIEWER_MODE_AUTO		_T("Mode Auto")
#define KEYNAME_VIEWER_MAP				_T("Map")
#define KEYNAME_VIEWER_MAP_SHOW			_T("Show Map")
#define KEYNAME_VIEWER_MAP_HIDE			_T("Hide Map")
#define KEYNAME_VIEWER_SNAPSHOT			_T("Snapshot Path")
#define KEYNAME_VIEWER_OK				_T("OK")
#define KEYNAME_VIEWER_CANCEL			_T("Cancel")
#define KEYNAME_VIEWER_MESSAGE0			_T("Message0")
#define KEYNAME_VIEWER_MESSAGE1			_T("Message1")
#define KEYNAME_VIEWER_MESSAGE2			_T("Message2")
#define KEYNAME_VIEWER_MESSAGE3			_T("Message3")
#define KEYNAME_VIEWER_MESSAGE4			_T("Message4")
#define KEYNAME_VIEWER_MESSAGE5			_T("Message5")
#define KEYNAME_VIEWER_SNAPSHOT_TITLE	_T("Snapshot Title")
#define KEYNAME_VIEWER_REARRANGE		_T("Rearrange")
#define KEYNAME_VIEWER_LANG_SUPPORT		_T("Internaltional Support")
#define KEYNAME_VIEWER_LANG_TITLE		_T("Lang Title")
#define KEYNAME_VIEWER_LANG_AUTO		_T("Lang Auto")
#define KEYNAME_VIEWER_SKIN				_T("Skin")
#define KEYNAME_VIEWER_VIDEO			_T("Video")
#define KEYNAME_VIEWER_MENU_DISPLAY		_T("Display")
#define KEYNAME_VIEWER_MENU_PLAYCTRL	_T("Play Control")
#define KEYNAME_VIEWER_MENU_UI			_T("GUI")

#define KEYNAME_VIEWER_ZOOM_PIP			_T("Zoom PIP")
#define KEYNAME_VIEWER_SHOW_ZOOM_PIP	_T("Show Zoom PIP")
#define KEYNAME_VIEWER_PIP_POS_TL		_T("Top-Left")
#define KEYNAME_VIEWER_PIP_POS_TR		_T("Top-Right")
#define KEYNAME_VIEWER_PIP_POS_BL		_T("Bottom-Left")
#define KEYNAME_VIEWER_PIP_POS_BR		_T("Bottom-Right")
#define KEYNAME_VIEWER_ZOOM_USE_CTRL	_T("Use Ctrl Key")
#define KEYNAME_VIEWER_PBSPEED_OPTION	_T("PBSpeedOptMode")
#define KEYNAME_VIEWER_PBSPEED_OPTION1	_T("PBSpeedOpt1")
#define KEYNAME_VIEWER_PBSPEED_OPTION2	_T("PBSpeedOpt2")
#define KEYNAME_VIEWER_PBSPEED_OPTION3	_T("PBSpeedOpt3")
#define KEYNAME_VIEWER_GSEN_TYPE		_T("GSenGraphType")
#define KEYNAME_VIEWER_GSEN_TIME_BASED	_T("GSenGraphTimeBased")
#define KEYNAME_VIEWER_GSEN_FILE_BASED	_T("GSenGraphFileBased")
#define KEYNAME_VIEWER_VIDEO_UPDOWN		_T("UpDown")
#define KEYNAME_VIEWER_VIDEO_LEFTRIGHT	_T("LeftRight")
#define KEYNAME_VIEWER_MS				_T("ms")
#define KEYNAME_VIEWER_VIDEO_SYNC		_T("VideoSync")
#define KEYNAME_VIEWER_RECOVERY			_T("Recovery")

#define KEYNAME_VIEWER_FLIP				_T("Flip")
#define KEYNAME_VIEWER_FLIP_CHANNEL		_T("Channel %d")
#define KEYNAME_VIEWER_FLIP_VERT		_T("Flip vertical")
#define KEYNAME_VIEWER_FLIP_HORZ		_T("Flip horizontal")


//12. WndGps
#define APPNAME_GPS				_T("GPS")

#define KEYNAME_GPS_TITLE				_T("Title")
#define KEYNAME_GPS_STATUS				_T("Playing is stopped")
#define KEYNAME_GPS_TIME				_T("Time")
#define KEYNAME_GPS_LATITUDE			_T("Latitude")
#define KEYNAME_GPS_LONGITUDE			_T("Longitude")
#define KEYNAME_GPS_TIME_START			_T("StartTime")
#define KEYNAME_GPS_TIME_END			_T("EndTime")
#define KEYNAME_GPS_SPEED				_T("VehicleSpeed")

//13. WndGSensor
#define APPNAME_GSENSOR			_T("GSensor")

#define KEYNAME_GSENSOR_TITLE			_T("Title")
#define KEYNAME_GSENSOR_FRONT			_T("Front")
#define KEYNAME_GSENSOR_REAR			_T("Rear")
#define KEYNAME_GSENSOR_LEFT			_T("Left")
#define KEYNAME_GSENSOR_RIGHT			_T("Right")
#define KEYNAME_GSENSOR_UP				_T("Up")
#define KEYNAME_GSENSOR_DOWN			_T("Down")

//14. WndMenuButton
#define APPNAME_BUTTON			_T("Button")

#define KEYNAME_BUTTON_PRINT			_T("Print")
#define KEYNAME_BUTTON_SETUP			_T("Setup")
#define KEYNAME_BUTTON_BACKUP			_T("Backup")
#define KEYNAME_BUTTON_VIEWER_SETTING	_T("Viewer Setting")
#define KEYNAME_BUTTON_PLAY_FW			_T("Play forward")
#define KEYNAME_BUTTON_STOP				_T("Stop")
#define KEYNAME_BUTTON_PAUSE			_T("Pause")
#define KEYNAME_BUTTON_PLAY_BW			_T("Play backward")
#define KEYNAME_BUTTON_STEP_FW			_T("Step forward")
#define KEYNAME_BUTTON_STEP_BW			_T("Step backward")
#define KEYNAME_BUTTON_STEP_FW_K		_T("Step next keyframe")
#define KEYNAME_BUTTON_STEP_BW_K		_T("Step previouse keyframe")
#define KEYNAME_BUTTON_NEXT_FILE		_T("Next File")
#define KEYNAME_BUTTON_PREV_FILE		_T("Previous File")
#define KEYNAME_BUTTON_EXIT				_T("Exit")
#define KEYNAME_BUTTON_HIDE				_T("Hide")
#define KEYNAME_BUTTON_MAX				_T("Maximize")
#define KEYNAME_BUTTON_FULL				_T("Full Screen")
#define KEYNAME_BUTTON_RESTORE			_T("Restore")
#define KEYNAME_BUTTON_ASPECT			_T("Aspect Ratio")
#define KEYNAME_BUTTON_FILEOPEN			_T("Open File")
#define KEYNAME_BUTTON_DISKOPEN			_T("Open Drive")
#define KEYNAME_BUTTON_DELETE			_T("Delete files")
#define KEYNAME_BUTTON_SPLIT			_T("Screen split")
#define KEYNAME_BUTTON_AR				_T("Auto reverse")
#define KEYNAME_BUTTON_TIME				_T("Time search")
#define KEYNAME_BUTTON_EVENT			_T("Event search")
#define KEYNAME_BUTTON_LOG				_T("Show Log")

#define APPNAME_UIMAIN			_T("UIMain")

#define MESSAGE_ASK_RECOVERY_FILEOPEN1 _T("Some of index files do not match stream files\r\n\
Will you recover index file?\r\n\
Press YES and a recovery program will be executing\r\n\
Press NO and continue this program\r\n\
Press CANCEL and file list will not be loaded")

#define MESSAGE_ASK_RECOVERY_FILEOPEN2 _T("Some of index files do not match stream files\r\n\
Will you play file anyway?\r\n\
Press OK and the stream files which is not matched with index files are ignored\r\n\
and is being playing\r\n\
Press CANCEL and file list will not be loaded")

#define KEYNAME_UIMAIN_MESSAGE0			_T("Message0")
#define KEYNAME_UIMAIN_MESSAGE1			_T("Message1")
#define KEYNAME_UIMAIN_MESSAGE2			_T("Message2")
#define KEYNAME_UIMAIN_MESSAGE3			_T("Message3")
#define KEYNAME_UIMAIN_MESSAGE4			_T("Message4")
#define KEYNAME_UIMAIN_MESSAGE5			_T("Message5")
#define KEYNAME_UIMAIN_MESSAGE6_0			_T("Message6-0")
#define KEYNAME_UIMAIN_MESSAGE6_1			_T("Message6-1")
#define KEYNAME_UIMAIN_MESSAGE6_2			_T("Message6-2")
#define KEYNAME_UIMAIN_MESSAGE6_3			_T("Message6-3")
#define KEYNAME_UIMAIN_MESSAGE6_4			_T("Message6-4")
#define KEYNAME_UIMAIN_MESSAGE7_0			_T("Message7-0")
#define KEYNAME_UIMAIN_MESSAGE7_1			_T("Message7-1")
#define KEYNAME_UIMAIN_MESSAGE7_2			_T("Message7-2")
#define KEYNAME_UIMAIN_MESSAGE7_3			_T("Message7-3")
#define KEYNAME_UIMAIN_MESSAGE7_4			_T("Message7-4")
#define KEYNAME_UIMAIN_MESSAGE8			_T("Message8")
#define KEYNAME_UIMAIN_MESSAGE9_0			_T("Message9-0")
#define KEYNAME_UIMAIN_MESSAGE9_1			_T("Message9-1")

#define KEYNAME_UIMAIN_MESSAGE10_0		_T("Message10-0")
#define KEYNAME_UIMAIN_MESSAGE10_1		_T("Message10-1")
#define KEYNAME_UIMAIN_MESSAGE10_2		_T("Message10-2")
#define KEYNAME_UIMAIN_MESSAGE11_0		_T("Message11-0")
#define KEYNAME_UIMAIN_MESSAGE11_1		_T("Message11-1")
#define KEYNAME_UIMAIN_MESSAGE12		_T("Message12")


//15. List
#define APPNAME_LIST			_T("List")

#define KEYNAME_LIST_NORMAL				_T("Normal")
#define KEYNAME_LIST_GSENSOR			_T("G-Sensor")
#define KEYNAME_LIST_PARKING			_T("Parking")
#define KEYNAME_LIST_MANUAL				_T("Manual")

#define KEYNAME_LIST_DATE				_T("Date")
#define KEYNAME_LIST_HOUR				_T("Hour")
#define KEYNAME_LIST_START_TIME			_T("Start Time")
#define KEYNAME_LIST_REC_TYPE			_T("Rec Type")
#define KEYNAME_LIST_END_TIME			_T("End Time")
#define KEYNAME_LIST_EVENT				_T("Event")

//16. Language info
#define APPNAME_LANG					_T("Lang")
#define KEYNAME_LANG_NAME				_T("LanguageName")
#define KEYNAME_LANG_ID					_T("LanguageID")

//17. SetupEx
#define APPNAME_SETUPEX					_T("SetupEx")

#define KEYNAME_SETUPEX_OPEN			_T("OpenConfig")
#define KEYNAME_MENU_RECORD				_T("Recording")
#define KEYNAME_MENU_CAMERA				_T("Camera")
#define KEYNAME_MENU_ADV_CAMERA			_T("Advanced Camera")
#define KEYNAME_MENU_SYSTEM				_T("System")
#define KEYNAME_MENU_MODEL				_T("Model")
#define KEYNAME_MENU_AUXIL				_T("Auxiliary")

#define KEYNAME_SETUPEX_MESSAGE0		_T("Message0")
#define KEYNAME_SETUPEX_MESSAGE1		_T("Message1")
#define KEYNAME_SETUPEX_MESSAGE2		_T("Message2")
#define KEYNAME_SETUPEX_MESSAGE3		_T("Message3")
#define KEYNAME_SETUPEX_MESSAGE4		_T("Message4")
#define KEYNAME_SETUPEX_MESSAGE5		_T("Message5")
#define KEYNAME_SETUPEX_MESSAGE6		_T("Message6")
#define KEYNAME_SETUPEX_MESSAGE7		_T("Message7")
#define KEYNAME_SETUPEX_MESSAGE8		_T("Message8")
#define KEYNAME_SETUPEX_MESSAGE9		_T("Message9")
#define KEYNAME_SETUPEX_MESSAGE10		_T("Message10")
#define KEYNAME_SETUPEX_MESSAGE11		_T("Message11")
#define KEYNAME_SETUPEX_MESSAGE12		_T("Message12")
#define KEYNAME_SETUPEX_MESSAGE13		_T("Message13")

#define APPNAME_CAMERA					_T("Camera")

#define KEYNAME_CAMERA_STREAM_MODE		_T("Stream Mode")
#define KEYNAME_CAMERA_STREAM_MODE1		_T("Normal Mode")
#define KEYNAME_CAMERA_STREAM_MODE2		_T("Optimal Mode")
#define KEYNAME_CAMERA_STREAM_MODE3		_T("Playback Mode")

#define KEYNAME_CAMERA_POS				_T("Camera Position")
#define KEYNAME_CAMERA_POS_FRONT		_T("FRONT")
#define KEYNAME_CAMERA_POS_REAR			_T("REAR")
#define KEYNAME_CAMERA_AUTO_CHANNEL		_T("AutoChannel")

#define KEYNAME_CAMERA_RESOL_NO			_T("Normal Resolution")
#define KEYNAME_CAMERA_RESOL_EO			_T("Event Resolution")
#define KEYNAME_CAMERA_RESOL_NE			_T("Normal and Event Resolution")
#define KEYNAME_CAMERA_RESOL_PB			_T("Playback Resolution")

#define KEYNAME_CAMERA_FRAMERATE		_T("Frame Rate")
#define KEYNAME_CAMERA_FPS				_T("fps")

#define KEYNAME_CAMERA_DEFOG			_T("Defog")
#define KEYNAME_CAMERA_DENOISE			_T("Denoise")
#define KEYNAME_CAMERA_ACCE				_T("ACCE")
#define KEYNAME_CAMERA_AE				_T("AE")
#define KEYNAME_CAMERA_MOTION_TRACE		_T("Motion Trace")

#define KEYNAME_CAMERA_SELECT_ALL		_T("Select All")
#define KEYNAME_CAMERA_CAMERA			_T("Camera")

#define KEYNAME_CAMERA_MESSAGE1			_T("Message1")
#define KEYNAME_CAMERA_MESSAGE2			_T("Message2")

#define KEYNAME_CAMERA_CONNECT_STATUS	_T("Status")
#define KEYNAME_CAMERA_CONNECT_1CH		_T("Status_conn1")
#define KEYNAME_CAMERA_CONNECT_2CH		_T("Status_conn2")

//#define APPNAME_MODEL					_T("Model")

#define KEYNAME_MODEL_MAIN_CHIPSET		_T("Main Chipset")
#define KEYNAME_MODEL_MAX_CHANNEL		_T("Max Video Channel")
#define KEYNAME_MODEL_CHANNEL_POS		_T("Channel")
#define KEYNAME_MODEL_MAINSTREAM_RESOL	_T("Main Stream Resolution")
#define KEYNAME_MODEL_ISP				_T("Defog/Denoise/ACCE/AE/Motion trace Available")

#define KEYNAME_MODEL_CREATE_CONFIG		_T("Create Config File")
#define KEYNAME_MODEL_LIST				_T("Model List")

#define APPNAME_CONFIG_SEL				_T("ConfigSel")

#define KEYNAME_CONFIG_SEL_TITLE		_T("Title")
#define KEYNAME_CONFIG_SEL_INSTRUCTION	_T("Instruction")
#define KEYNAME_CONFIG_SEL_SELECT		_T("Select")
#define KEYNAME_CONFIG_SEL_MODEL		_T("Model")
#define KEYNAME_CONFIG_SEL_PATH			_T("Path")



class SUPPORT_LANG CSupportLang
{
public:
	CSupportLang(void);
	~CSupportLang(void);

public:
	void LoadLangText(CString strLangFilePath);
	BOOL IsLangSupported(CString strLangFilePath);
	CString GetString(CString strAppName, CString strKeyName, CString strDefalutString);

	LANGID GetLanguageID(CString &strLangName, CString strLangFilePath);

private:
	CString m_strLanFilePath;

};
